package com.tydic.service;

import com.tydic.trans.beans.domain.Customer;
import com.tydic.trans.beans.domain.Provider;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.Map;

@WebService(name = "WebServiceDemoService", // 暴露服务名称
        targetNamespace = "http://service.tydic.com"// 命名空间,一般是接口的包名倒序
)
public interface WebServiceDemoService {

    @WebMethod
    String testString(@WebParam(name = "name") String name);

    @WebMethod
    Provider testObject(Customer customer);

    @WebMethod
    Map<String, Object> testJson(String json);

    @WebMethod
    String testJsonStr(String json);

}
